/* 导航页主体样式 */
:root {
    --category-bg: #f8f9fa;
    --category-color: #666;
}

body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px;
    background-color: #f0f2f5;
}

/* 分类容器 */
.category-section {
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 分类标题 */
.category-title {
    font-size: 18px;
    color: #1a73e8;
    margin: 10px 0 20px;
    padding-left: 10px;
    border-left: 4px solid #1a73e8;
}

/* 导航网格 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 15px 10px;
}

/* 导航项 */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s;
    background: rgba(255,255,255,0.9);
}

.nav-item:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 图标样式 */
.nav-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    object-fit: contain;
}

/* 文字样式 */
.nav-text {
    color: #444;
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
}
/* 私密导航默认隐藏 */
.hidden-category {
    display: none;
}